Sebastian Lackner : server: Avoid invalid memory access when thread is killed while in wake_up(). ( Valgrind).