Thread usage

Hi

XMPPConnection create three threads per connection - is there another way of using the library where I can control the number of threads created - using ThreadPoolExecutor or creating my own threads for reading and writing?

Thx

Piet