server: hide message box after 5 seconds