Fix intermittent failure in DB timers test

This is caused by the InitialContext being garbage collected while the connection is still in use