[Shiwei, HK] # add script to check server connection.