Switch connection.close-ok to the new continuations implementation