Hello
I would suggest that you check with Roundcube support, to go over all of the configuration, such as server name, port, encryption settings, etc to make sure everything is correct according to their requirements.
If so, I recommend that you use Thunderbird email app, set it up and wait a day or two to see if you also experience the drop. If it happens again, that's something from Roundcube's side.