Fix server popen