Added timeouts to the getRestObject method

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>