prevent double listen during disconnect