Patches for patch for checking elapsed time of a process [sf#991359] [#326]