Check for ref/unref existence before calling them. For 0.8 compat, means that 0.8 will not auto-shutdown and requires a call to cx.stop()
update deps
0.6.2