CoreThread using time in milliseconds