Timeout
Changes to account for unstable networks
Clean up variables
Requests will now timeout after waiting 3 times, for 5 seconds each time.