Make sure connect event happens first. Change node version dependency.