Taskqueue stats for how many tasks are pending in a queue.

Also a fix for nginx reload/restarts.