Cancel buffer tasks when going to remote