Add a timeout to instance check