moving server connection to dedicated context