null check on getInstance()? This is running on a different thread so there could be a potential race condition where this could be a null pointer.