Remove all 'exit' invocations.