Erf session_write_close a little too soon for message handling

As we only need to have concurent access on run_comment and get_info
for parrallel info fetching, we only put session_write_close there for
the moment