got rid of threading error from service.py