The signal can only be used on the main thread and not the flask sub process one. Signed-off-by: Reed Wade <reedwade@misterbanal.net>