open new connection if it has been closed