Fixed server getting garbage collected