Changing serial port execution to block.