As surfaced in #31, when the connection of a client device is interrupted, the server can crash when it attempts to push items to or pull items from this device. Additional error handling should be introduced to that the server can detect and recover from this state.