verifying if socket exists yet