[SUREFIRE-946] Allow execution of a callback after the process finished,...

... or the timeout ran up.

The callback is invoked, before calling waitForPumpers, allowing clients to release possible locks on or in the in/out streams.