fine tune timeout mechanism