AsioMTImpl fixes for issues that happened during testing.