pimd: Clean-up.