Don't create a shared pointer from "this"

The reference count could fall below zero while the pointer is still in
scope

Fix by Tom, yay!