explicit socket check on triggers