Adaptive Episode Length Adjustment for Multi-agent Reinforcement Learning