fix reflection warning in thread.clj