Remove redundant statements.

- Redundant casting for runnable object.
- Variable initializer "false" is redundant.