Make sure that the wait won't block forever
Force use of built in JCE provider