Fix server leak