Fixed 'check_conn.sh' -- modulo calculation.