Better server control method

Credit to vsilvar on https://github.com/warhawk3407/bgpanel/pull/7