My terminal always automatically closes the session whenever I log in to the AWS EC2 instance and stay idle for a few minutes.