Once the controller took a control event, release the mutex before processing it, so that the main thread is not blocked to push a new event.
Once the controller took a control event, release the mutex before processing it, so that the main thread is not blocked to push a new event.