A single application can create up to 16 threads.
The total number of threads that can exist on a BlackBerry device
from all applications is 128. Therefore, if an application has already
created 16 threads, the 17th attempt fails and a TooManyThreadsError exception
is thrown. Similarly, if there are 128 threads already created on
the BlackBerry device and an application attempts to create another
thread, a TooManyThreadsError exception is thrown.