Made ServerService more secure in case of connection errors