Fix bug in try/catch block

If an exception gets thrown in callback(), it would be
caught by the pnet try/catch. We don't want that.
Version bump