Asynchronous I/O with generators for PHP 5.5