added printing for debug of cases where door pass stops wotking suddenly