removing "error" function call to see what's happening in datathread -
threading