add lock wait time out catch in simulator