Allow connect to be called after close