setting timeout to 10 seconds