Frequent disconnects in MapleStory are usually caused by your internet connection. Try switching to a different web browser to see if one performs better, and consider using a wired connection or moving closer to your router for a more stable signal.