Add mosh cleanup