Before connection is ready we need to use self closure.