Add threading options to puma