Poll grbl state during send file

Poll the grbl state when sending a file. We might want to make this less
aggressive later.