Added a conditional variable to the sse server interface.