take threads as a rake argument