Patches for check_mail_loop timing problem in 1.4.2 [sf#1442218] [#612]