set a timeout of 5 seconds for alerts