Fixed some ServiceConnection leaks using weak references and static
classes.