[Issue 9380] connection_write_resume should be type void rather than int