wrap connection redraw request in try-catch block