Don't do I/O if the thread is interrupted.
Merge pull request #667 from square/jwilson_0329_concurrency_model_thread_interrupt

Don't do I/O if the thread is interrupted.