Make sure all client threads are stopped when KeePassRPCServer is
terminated. Fixes Github Issue luckyrat/KeeFox#169.