Fix EOF in async on Linux
support timeout in async expect
Expand tests for async expect