Added timeout to requests to prevent arbitrarily long waiting periods