Changed read to asynchronous.