move thread unsafe simpledateformat into runnable