Removed pwmd_terminate_pinentry(). There is no need for it that I can