The variable was not initialized resulted in always setting true when starting. This change fixes it.