In any action to foreclose a lien under this article if the building or other improvement is still in course of construction, the judge on application of any party engaged in furnishing labor or materials for such building or improvement, may stay the trial thereof for a reasonable time to permit the filing of a lien statement by such party under the provisions of this act.
K.S.A. 60-1107