Prevents manual commands from interupting other commands

This fixes an issue where if manual command was sent while another command was being processed they would both end up with the same line number. Octoprint couldn't recover and the print would fail.