can now specify timeout minutes with third argument