Make it safer to double-call doors_open and doors_close