The gluon propagator in a static temporal gauge at finite temperature