moved garlic decryption to streaming thread