The return of nulla bona on any execution against the sheriff shall not be necessary before legal resort may be had against his sureties or any of them. There shall be liability to contribution among the sureties aforesaid in case of joint suretyship.