do_move_pid_main: don't break out of while loop on error; return error after

I think this can be benefitial in avoiding certain kinds of errors (e.g. look at this bug log (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757348#125)).

Obviously it is not a solution for the problem, but it can lessen the impact of those types of problems.