Using con.done() instead of con.end()