Cleanup (prevent repeated use of -p/-oMr to avoid mem leak)