added 5 sec timeout