[JBJCA-1233] Make pool lock across all credentials