SQOOP-1840: Sqoop2: Guard test DerbyProvider from infinite waits in Derby implementation

(Jarek Jarcec Cecho via Abraham Elmahrek)