Use executor services instead of runnables and threads