Add of check connection to server method, not finish