Making group monitor a thread by implementing Runnable