Check connection before run remote query.
Merge remote-tracking branch 'origin/master'