tests: fixed timing issues in some of the test cases for full-duplex cosockets.