Thread pool for android platform