check if ServerClient connected before sending reguest