add Popen wait to avoid having defunct process when stopping teeworlds-server
use localhost instead of 127.0.0.1 since it can deal with ipv6 address
Merge pull request #2 from jremond/fix_defunct_child

add Popen wait to avoid having defunct process when stopping teeworlds-server
Merge pull request #3 from jremond/localhost

use localhost instead of 127.0.0.1 since it can deal with ipv6 address