Async close test was added. Base exception was changed to IOException.