Get the location when adding a response and added a timeout error callback to Location