signal handling for thread for processing the last audio event