Try to add threading for running gcode