Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring...