Made Verify_gcode syncronyous