When having a long exposuretime, you will have an exposure from the available light, the flash will do the rest.
If you have enough exposure from the available light, there is no rest and the flash will do almost nothing, and you don't have the crisp image from the flash.
If you want that, you will have to dimm the available light. (shorter time, lower ISO or close the aparature)
Keep practising, and in the end you will get the pics you want.