Added shutdown-workers function