Git ignore swp files
Removed unnecessary parameter
Randomise timeout length
Reconnect on error