test if the connection is still there before reset
renamed everything bosh to relay