Linewidth of a detuned single mode laser near threshold