add stop fun to close mailbox