[minor] Remove another pointless `if` statement cos OCD
[test] Add tests for the `Spark` disconnection timeout
[doc] Add documentation for the newly introduced `timeout` option