fixed bug with crashing on completion/deletion return
fixed bug with crashing on completion/deletion return

  * this was caused by pclose returning 141
    * therefore this was interpreted as an error
  * due to stderr redirection (2>&1), the shell recieved
    SIGPIPE and returned 128+SIGPIPE == 141
  * this is now fixed by checking for this return, and interpreting
    it as a success

lharding/tasknc,lharding/tasknc