wait for server events before end benchmark