Bot can now recognise when the connection drops, aim to get back online and then tidy stuff up