Force eager loading of Rails classes before starting threads