async def stop_training(sid, script_name):
    mlp.stop_training()
    pass
async def stop_script(sid, script_name):
    #stop script with given name (name currently ignored)
    mlp.stop_training()
    pass