use wakeup record when terminating outputmanager instead of (void *) 1
- this helps further process of the message to avoid segmentation fault