Made client try to connect to server even after failed attempts