email: Fixed QUIT / LOGOUT being sent when SSL connect fails