added time-outs for execution in locked mode