       if url
         clearInterval interval
         fs.unlinkSync path
+        clearTimeout timer
+        isUrlFound = yes
         callback? url
 
     catch

exports.command = getCollabLink = (callback) ->

  path = "#{tempDir()}/collabLink.txt"

  getUrl = ->
    try


  interval = setInterval getUrl, 10000

  killer = ->
    unless isUrlFound
      console.log '>>>>>>>>>> Participant couldnt get the link in 6 minutes.'
      browser.end()

  timer = setTimeout killer, 360000

  return this
