[BUGFIX] Avoid commands to be executed while components are shutting down

This blocks commands to be sent on calls which received the hangup event. The fix lacks of specs. I've tested manually and seems correct.