Added some traces to help Heroku weird behaviour.
Missing import.
Wrong parentheses.
Reduce loop size.
Close connection after loop.
Added some basic gist helper functions.
Added tentacles dependency.