Wait for out_reader and err_reader to finish, so it actually enforces timeouts.