fixes node shutdown

closes #183
version bump 1.3.6