Flush mOutputStream after write