May be it is related to the daily restart of your M2 instance. See Database daily restart/disconnection - #3 by Stennie