connect check and release