Changing --multi boolean flag to integer flag so that the user can specify the size of the thread pool to use.