Added timeout error rescue to request method