Because we aren't considering that the topology could fail, we're not cleaning up if there is a failure in running the topology. Consider closing even if there was an exception to clean up the directory: https://github.com/jpzk/mockedstreams/blob/929849f5b60af61660816e218b4ca2fdd8cb32c5/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala#L143
Because we aren't considering that the topology could fail, we're not cleaning up if there is a failure in running the topology.
Consider closing even if there was an exception to clean up the directory:
mockedstreams/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala
Line 143 in 929849f