Swapping order of arguments on connect/disconnect.