added tests for failed connection with timeout