Renamed apply_async to spawn and added threading naming