Use threading for the debian package template script