Garbage collector thread was not stopped. Because of this applications would not stop gracefully when signalled with TERM or INT.