Added error handling in RequestQueue