closing wrapped processes, previously leaked