tweaked timings and added trap for request errors