Open the connection on nextTick