fix web hanging issue when starting bgmm, add stop/start/restart commands from web