add pop3 state check