Check if `events` is `nil` before sending otherwise it will block forever.