Copy object pool interface from Apache Common Pool to reduce dependencies size.
Clean up