Currently, if you have a contract that imports itself the flattener hangs indefinitely. It should fail and show the circular referenced contracts.