s3-prefork: add asynchronous functions