Does Portfolio stream websocket automatically close connection after certain time period of inactivity?

Does the Portfolio stream websocket automatically close connection after a certain time period?

@Mandar_Salvi

The websocket remains connected unless it’s manually disconnected by the user or if it’s during a scheduled maintenance period, which typically occurs outside of market hours.

Thank you!