Adaptive closed-loop maneuver planning for low-thrust spacecraft using reinforcement learning