splitting the quit smtp server functionality so it can be triggered manually and avoided during normal execution