SingleInstance is working as daemon thread