- add an option to not flush last profiling snapshot - add an option to not wait for session upload thread to finish