Fix a memory leak by limiting the length of time that messages will be queued for a remote server that has been unreachable.