tests for receive timeout