limit the max sessions. return an error message if connections exceeds a
value.
add timeout to each session. close the session if a session did not
received input for a specific time.