Refactor and add the concept of <Framework>Runtime handling. This allow sending the Atmosphere closing protocol at the end