fix disconnect time None