Adding synchronization to that block will increase the contention, I think that is better to expend time creating another endpoint which will be then discarded.
Would be a good to use guava, but that change is out of scope for this issue.