Improve running server check by checking for connection errors too (STOX-10)