Fix server on double derigister