Fixes for FSMThreadPoolTest

1. Calling shutdown(), so that maven cannot hang.
2. Pool initialization fixed.