Added shutdown hook.
Increased number of partitions.