Made robust against connection that is freeed and was not in use