Adding timeout to get instance