Add exception handling for when Pi disassociates