chagned timeout to 5 seconds