check connection on schedule