Change waitFor() timeout from int to long