Give *ac* the ability to do some extra jobs *onConnect* and *onDiconnect*. e.g. Cleanning the pointer you hold to redis connection automatically.