Fix timeRemaining issue …
When the swarm hasn't been created but the timeRemaining property is accessed, it causes an error.