Configure the number of crawler threads using an environment variable

Allow setting the number of crawler threads using an environment
variable `CRAWLER_THREADS`. This value must be a positive integer
otherwise the application will panic.
Is there an off-by-one error here?