Avoid enqueue of commands if InputManager gets terminated