Null the model if connection is opened.