setting timeout to 300 seconds.