emit when contexts are changed/when the connection is attached.